package neu.soft.message;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface OutputSource {
    @Output("goods-common")
    MessageChannel sendGoods();

    @Output("distribution-common")
    MessageChannel sendDistribution();

    @Input("create-order")
    SubscribableChannel inputCommon1();

    @Input("send-common")
    SubscribableChannel canSend();

}